<?

include_once("model/select_datas_brand.php");


//判断传递搜索框参数过来
if($_REQUEST['select_keywords'])
{
    $root_term_list = select_lines_all_items($table_prefix.'term',"listorder desc , nid desc","name like '%".$_REQUEST['select_keywords']."%' or en_name like '%".$_REQUEST['select_keywords']."%'" ,"");
}
else
{
    $root_term_list = select_lines_all_items($table_prefix.'term',"listorder desc , nid desc","interm = 'root' and belong = 'brand' " ,"");
}




$term_list      = select_lines_all_items($table_prefix.'term',"listorder desc , nid desc","1 =1 " ,"");



?>
